$OpenBSD: patch-ui_views_examples_widget_example_cc,v 1.4 2016/10/26 06:22:08 robert Exp $
--- ui/views/examples/widget_example.cc.orig.port	Tue Oct 25 21:56:44 2016
+++ ui/views/examples/widget_example.cc	Tue Oct 25 22:14:54 2016
@@ -77,7 +77,7 @@ void WidgetExample::CreateExampleView(View* container)
   BuildButton(container, "Popup widget", POPUP);
   BuildButton(container, "Dialog widget", DIALOG);
   BuildButton(container, "Modal Dialog", MODAL_DIALOG);
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
   // Windows does not support TYPE_CONTROL top-level widgets.
   BuildButton(container, "Child widget", CHILD);
 #endif
